<template>
  <div id="personal-team">
    <div class="team-box">
      <NavBar title="在线客服" left-arrow @click-left="onClickLeft" />
      <div class="onlineservice">
        <img src="../../assets/images/service.jpg" alt="" />
      </div>
      <div class="service-text">
        <div class="service-head">在线客服</div>
        <div class="service-body">
          <div class="service-icon">
            <img src="../../assets/images/serviceicon.png" alt="" />
          </div>
          <div class="service-app">WhatsApp</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import { NavBar } from "vant";
export default {
  components: {
    NavBar,
  },

  data() {
    return {};
  },

  // 创建时
  created() {},

  // 方法
  methods: {
    // 跳出
    onClickLeft() {
      console.log("跳出");
      this.$router.go(-1);
    },

    // 网络请求
  },
};
</script>
<style lang="less" scoped>
#personal-team {
  width: 100vw;
  height: 100vh;
  background-color: #f7f6fb;
  .team-box {
    .onlineservice {
      width: 100%;
      height: 180px;
      img {
        width: 100%;
        height: 163px;
        background-size: 100% 100%;
      }
    }
    .service-text {
      width: 337.5px;
      height: 150px;
      margin: -30px auto;
      position: relative;
      background-color: #fff;
      border-radius: 10px;
      .service-head {
        font-size: 14px;
        padding: 10px;
      }
      .service-body {
        height: 46px;
        width: 100%;
        position: absolute;
        bottom: 0px;
        display: flex;
        .service-icon {
          width: 25px;
          height: 26px;
          margin-left: 8px;
          img {
            width: 25px;
            height: 26px;
            background-size: 100% 100%;
          }
        }
        .service-app {
          font-size: 16px;
          line-height: 46px;
          margin-left: 8px;
        }
      }
    }
  }
}
</style>
